package com.seari.bean;

import java.util.Objects;

/**
 * @ClassName OperateInfo
 * @Description 运营信息
 * @Author zhangYanKun
 * @Date 2021/5/22 14:01
 * @Version 1.0
 */
public class OperateInfoBean extends BaseBean{

    /**
	 * 
	 */
	private static final long serialVersionUID = -6614119323345357300L;

	/**
     * 发生时间
     */
    private String runDate;

    /**
     * 线路
     */
    private String line;

    /**
     * 起始站台id
     */
    private String bs;

    /**
     * 结束站台id
     */
    private String es;

    /**
     * 区间颜色
     */
    private Integer cType;

    /**
     * 内容
     */
    private String memo;

    public String getRunDate() {
        return runDate;
    }

    public void setRunDate(String runDate) {
        this.runDate = runDate;
    }

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public String getBs() {
        return bs;
    }

    public void setBs(String bs) {
        this.bs = bs;
    }

    public String getEs() {
        return es;
    }

    public void setEs(String es) {
        this.es = es;
    }

    public Integer getcType() {
        return cType;
    }

    public void setcType(Integer cType) {
        this.cType = cType;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        OperateInfoBean that = (OperateInfoBean) o;
        return Objects.equals(runDate, that.runDate) &&
                Objects.equals(line, that.line) &&
                Objects.equals(bs, that.bs) &&
                Objects.equals(es, that.es) &&
                Objects.equals(cType, that.cType) &&
                Objects.equals(memo, that.memo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(runDate, line, bs, es, cType, memo);
    }

    @Override
    public String toString() {
        return "OperateInfoBean{" +
                "runDate='" + runDate + '\'' +
                ", line='" + line + '\'' +
                ", bs=" + bs +
                ", es=" + es +
                ", cType=" + cType +
                ", memo='" + memo + '\'' +
                '}';
    }
}
